package com.wpre.vampiremq.common;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Description:表示各个远程调用方法返回值的公共信息
 * User: LianBao
 * Date: 2025-01-19
 * Time: 14:58
 */
public class BasicReturns implements Serializable {
    protected String rid;//表示一次请求和一次响应的身份标识,能让请求和响应匹配上

    protected String channelId;//这次通信的 channel的身份标识

    protected boolean ok;//表示当前远程调用方法的返回值

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public boolean isOk() {
        return ok;
    }

    public void setOk(boolean ok) {
        this.ok = ok;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }
}
